# $Id: PKGBUILD 86500 2013-03-18 11:56:38Z spupykin $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Contributor: Charles Mauch <cmauch@gmail.com>

pkgname=when
pkgver=1.1.31
pkgrel=1
pkgdesc="A simple commandline personal calendar program"
arch=('any')
url="http://www.lightandmatter.com/when/when.html"
license=('GPL')
depends=('perl')
source=(when-$pkgver.tar.gz::http://www.lightandmatter.com/when/when.tar.gz)
md5sums=('72d4c1c0fbad5c2ca6b9e8bb449f7b39')

package() {
  cd $srcdir/when_dist
  install -D -m755 $srcdir/when_dist/when $pkgdir/usr/bin/when
  install -D -m644 $srcdir/when_dist/when.1 $pkgdir/usr/share/man/man1/when.1
}
